package com.voc.im.common;

public class Constants {

    /**
     *
     * */
    public final static String STAGE_ACCOUNT = "STAGE_ACCOUNT";
    public final static String STAGE_MAIN = "STAGE_MAIN";


    /**
     * 用户类型
     */
    public final static int USER_ROOM_1 = 1;//好友
    public final static int USER_ROOM_2 = 2;//聊天室

    /**
     * 用户订阅关系
     */
//    public final static int USER_ROOM_SUB_0 = RosterPacket.ItemType.none.ordinal();
//    public final static int USER_ROOM_SUB_1 = RosterPacket.ItemType.to.ordinal();
//    public final static int USER_ROOM_SUB_2 = RosterPacket.ItemType.from.ordinal();
//    public final static int USER_ROOM_SUB_3 = RosterPacket.ItemType.both.ordinal();
//    public final static int USER_ROOM_SUB_4 = RosterPacket.ItemType.remove.ordinal();

    /**
     * 聊天信息
     */
    public final static int CHAT_ACTION_1 = 1;//发送
    public final static int CHAT_ACTION_2 = 2;//接收
    public final static int CHAT_ACTION_3 = 3;//其他

    /**
     * 聊天种类
     */
//    public final static int CHAT_KIND_1 = Message.Type.chat.ordinal();//单聊
//    public final static int CHAT_KIND_2 = Message.Type.groupchat.ordinal();//群聊

    /**
     * 聊天消息类型
     */
    public final static int CHAT_TYPE_CHANGE = -2;//修改群昵称
    public final static int CHAT_TYPE_TIME = -1;//时间
    public final static int CHAT_TYPE_OTHER = 0;//其他
    public final static int CHAT_TYPE_TEXT = 1;//文本
    public final static int CHAT_TYPE_VOICE = 2;//语音
    public final static int CHAT_TYPE_PHOTO = 3;//图片
    public final static int CHAT_TYPE_VIDEO = 4;//视频
    public final static int CHAT_TYPE_FILE = 5;//文件

    /**
     * 聊天消息状态
     */
    public final static int CHAT_STATUS_0 = 0;//消息已读
    public final static int CHAT_STATUS_1 = 1;//消息未读
    public final static int CHAT_STATUS_2 = 2;//消息发送中
    public final static int CHAT_STATUS_3 = 3;//消息发送失败

    /**
     * 聊天窗口按钮执行结果状态
     */
    public final static int CHAT_CLEARHISTORY = 0;//清除聊天纪录
    public final static int CHAT_DELETEFRIEND = 1;//删除好友
    public final static int CHAT_SEND_MESSAGE = 2;//发送按钮
    public final static int CHAT_INVITE_FRIEND = 3;//邀请好友确认按钮
    public final static int CHAT_DOWNLOAD = 4;//邀请好友确认按钮
    public final static int CHAT_KICK_FRIEND = 5;//踢除群成员
    public final static int CHAT_MODIFY_ROOM = 6;//修改群名
    public final static int CHAT_CACHE_VOICE = 7;//缓存语音
    public final static int CHAT_CACHE_PHOTO = 8;//缓存图片

    /**
     * 主页面按钮执行结果状态
     */
    public final static int MAIN_CHAT_LIST = 0;//删除单个聊天记录

    /**
     * 添加好友页面按钮执行结果状态
     */
    public final static int FRIEND_ADD_AGREE = 0;//添加好友/同意好友
    public final static int FRIEND_ADD_ROOM = 1;//创建群聊

    /**
     * 删除全部记录
     */
    public final static int CLEAR_CHAT_RECORD = 0;//创建群聊
}
